Nevron Open Vision Documentation
Nevron.Nov.DataStructures Namespace / NList<T> Class / CopyTo Method / CopyTo(Int32,T[],Int32,Int32) Method


In This Topic
    CopyTo(Int32,T[],Int32,Int32) Method
    In This Topic
    Copies the items of this array (from 0 to itemsToCopy) to the specified target array (at targetIndex).
    Syntax
    'Declaration
     
    
    Public Overloads Sub CopyTo( _
       ByVal sourceIndex As System.Integer, _
       ByVal targetArray() As T, _
       ByVal targetIndex As System.Integer, _
       ByVal itemsToCopy As System.Integer _
    ) 
    'Usage
     
    
    Dim instance As NList(Of T)
    Dim sourceIndex As System.Integer
    Dim targetArray() As T
    Dim targetIndex As System.Integer
    Dim itemsToCopy As System.Integer
     
    instance.CopyTo(sourceIndex, targetArray, targetIndex, itemsToCopy)
    public void CopyTo( 
       System.int sourceIndex,
       T[] targetArray,
       System.int targetIndex,
       System.int itemsToCopy
    )

    Parameters

    sourceIndex
    targetArray
    targetIndex
    itemsToCopy
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also